package com.example.springioc.facade;

/**
 * ClassName: FacadePattern
 * Package: IntelliJ IDEA
 * Description:
 *
 * @Author 谷京京
 * @Create 2023/11/12 22:25
 * @Version 1.0
 */
public class FacadePattern {
    public static void lighton() {
        HallLight hallLight = new HallLight();
        hallLight.on();
        LivingLight livingLight = new LivingLight();
        livingLight.on();
        DiningLight diningLight = new DiningLight();
        diningLight.on();
    }
}
